package com.zg.invoice.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
* @author zg
*/
@Data
@ApiModel(value = "发票信息", description = "发票信息对象")
public class InvoiceGetReq {
    @ApiModelProperty(value = "通用搜索")
    private  String searchStr;
    /**
     * 发票号码
     */
    @ApiModelProperty(value = "发票号码",required = true)
    @NotBlank(message = "发票号码不能为空")
    private String invoiceNo;
    /**
     * 开票员id
     */
    @ApiModelProperty(value = "开票员id")
    private String userId;
    /**
     * 来源系统
     */
    @ApiModelProperty(value = "来源系统",required = true)
    @NotBlank(message = "来源系统不能为空")
    private String  sourceSystem;

}
